package com.jy.modules.cims.auxiliary.Controller;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

import com.jy.modules.cims.common.CimsConstant;
import com.jy.modules.cims.common.controller.ExportController.ExportUtil;
import com.jy.modules.cims.common.sysUtils.CollectionsUtils;
import com.jy.modules.cims.common.sysUtils.DateTimeUtils;
import com.jy.modules.cims.common.sysUtils.SimpleStringUtils;
import com.jy.modules.cims.component.sysAssist.ExportAndImport;
import com.jy.modules.cims.quota.service.QuotaEstimateService;
import com.jy.platform.core.message.DataMsg;
import com.jy.platform.core.message.PageParameter;
import com.jy.platform.core.message.PageUtil;
import com.jy.platform.core.message.QueryReqBean;
import com.jy.platform.restservice.exception.AbaboonException;
import com.jy.platform.restservice.web.base.BaseController;
import com.jy.modules.cims.data.dto.CreditSettleBillDto;
import com.jy.modules.cims.auxiliary.service.CreditSettleBillService;
/**
 * w
 * ClassName: ViewTCMmMaintainController 
 * @Description: TODO
 * @author zhoupeng
 * @date 2015-12-15
 */
@Controller
@Scope("prototype")
@RequestMapping("/viewtcmmmaintain")
public class ViewTCMmMaintainController extends BaseController {

	
	@Autowired
	@Qualifier("com.jy.modules.cims.auxiliary.service.CreditSettleBillService")
	public CreditSettleBillService creditSettleBillService;
	
	@RequestMapping(value = "/prepareExecute/{operate}")
    public ModelAndView execute(@PathVariable("operate") String operate) throws AbaboonException {
        ModelAndView model = new ModelAndView();
        if("toQuery".equals(operate)){//跳转至 查询页面
            model.setViewName("cims/auxiliaryFunction/ViewTCMmMaintain");
            return model;
        }else if("toPassWord".equals(operate)){//跳转至 查询页面
            model.setViewName("cims/auxiliaryFunction/PassWord");
            return model;
        }
        return model;
	}
	
}
